package com.kaifamiao.N0730;

import com.kaifamiao.N0726.Student;

import java.util.Scanner;

public class Bank {

    Student[] w = new Student[5];

    public void l() {
        for (int i = 0; i <= 4; i++) {
            w[i] = new Student();
            w[i].name = input.next();
        }
    }

    static Bank1 num = new Bank1();
    Scanner input = new Scanner(System.in);

    public void f(){
        System.out.println("欢迎来到 开发喵 银行");
    }
    public void z(){
        System.out.println("请选择您要办理业务：1 存钱。2 取钱。3 查询余额。4 转账");
    }
    public void q() {
        System.out.println("请输入账号");
            num.account = input.nextInt();
        System.out.println("请输入密码");
            num.password = input.nextInt();
    }
    public void a() {
        System.out.println("请输入您要存的金额");
        int m = input.nextInt();
        System.out.println("您的账户："+num.account);
        System.out.println("您的存款为"+m);
    }
    public void b(){
        System.out.println("请输入您要取的金额");
        int mm = input.nextInt();
        System.out.println("");
    }
    public void c(){
        System.out.println("请输入您要查询的账户");
        int mmm = input.nextInt();
        System.out.println( num.name+mmm);
    }
    public void r(){
        System.out.println("请输入您要查询的账户");
        int mmm = input.nextInt();
        System.out.println( num.name+mmm);
    }

}
